package cn.edu.sdju.wanglo1911.team10.service;

import java.util.List;


import org.springframework.stereotype.Service;


import cn.edu.sdju.wanglo1911.team10.po.OrderItem;
import cn.edu.sdju.wanglo1911.team10.po.OrderSummary;
import cn.edu.sdju.wanglo1911.team10.po.QueryOption;
import cn.edu.sdju.wanglo1911.team10.po.ShoppingCartItem;


public interface OrderService {
	
	List<OrderItem> getAllItemByUserId(String userId);
	List<OrderItem> getAllItemByOrderNo(String orderNo);
	void createOrder(List<ShoppingCartItem> shoppingCartItems);
	List<OrderSummary> advanceQuery(QueryOption option);
	Integer getTotalQueryNumber(QueryOption option);
	void deleteAllByOrderNo(List<String> orderNos);
	void updateOrder(OrderSummary order);
}
